package com.adk.backend.mapper;

import com.adk.backend.entity.LxTradeOrderStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 贸易订单状态Mapper接口
 */
@Mapper
public interface TradeOrderStatusMapper extends BaseMapper<LxTradeOrderStatus> {
    
    /**
     * 查询贸易订单状态列表（带用户名）
     */
    List<Map<String, Object>> selectTradeOrderStatusWithUsername(@Param("tolId") Long tolId);
}

